package com.easyban.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class OrdersDetail implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long productId;
    private Long ordersId;
    private Long number;
    private Double price;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
